package com.jswlw.controller.api.resp;

import com.jswlw.common.BaseApiResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author 吴维斌 E-mail:wuweibin0817@163.com
 * @version 创建时间：${date} ${time}
 */
@ApiModel(description = "API-微信统一下单返回对象")
@Data
@EqualsAndHashCode(callSuper = false)
public class UnifiedOrderResponse extends BaseApiResponse {

    UnifiedOrderData data;

    @Data
    public static class UnifiedOrderData{
        @ApiModelProperty(value = "统一下单编号", required = true, example = "123")
        String prepay_id;
        @ApiModelProperty(value = "随机字符串", required = true, example = "123")
        String nonceStr;
        @ApiModelProperty(value = "签名字符串", required = true, example = "123")
        String paySign;
        @ApiModelProperty(value = "timeStamp", required = true, example = "123")
        String timeStamp;
    }
}
